import { 
  INCREMENT,
  DECREMENT,
  RESET
} from '../../constants/ActionTypes';
import Invoke from "../../api/invoke.js"
export function increment () {
  return {
    type: INCREMENT
  };
}

export function decrement () {
  return {
    type: DECREMENT
  };
}

export function reset (data) {
  return {
    type: RESET,
    payload:data
  };
}
// export const modifiyGetCompany = (data) => {
//   return {
//       type: RESET,
//       payload:data
//   }
// }
export const getCompany = () => {
 let dd=async function() {
  return await Invoke.Company.getCompany({})
}
 return reset(dd()) 
 

}
